#2B1873
Color Details
HEX
#2B1873
RGB
rgb(43, 24, 115)
HSL
hsl(253, 65%, 27%)
CMYK
cmyk(63%, 79%, 0%, 55%)
Best text on this color
#FFFFFF (CR 14.18:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2B1873
#2B1873 converts to RGB(43, 24, 115) and HSL(253, 65%, 27%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#2B1873 FAQs
What is the RGB value of #2B1873?
RGB: 43, 24, 115. Copy as CSS:
rgb(43, 24, 115)
Is #2B1873 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2B1873?
Complement: #5e7218.
Does #2B1873 have good contrast on white or black?
On white: 14.18:1 (AAA (normal text)).
On black: 1.48:1 (Fails AA).